package com.vrv.im.persistence;

import java.util.List;

import com.vrv.im.domain.AnnexRelatedBean;


public interface AnnexRelatedMapper {
	/**
	 * 根据主表ID和类型ID查询附件ID
	 * @param b
	 * @return
	 */
	public List<Long> getFileID(AnnexRelatedBean b);
	/**
	 * 添加关系
	 * @param b
	 * @return
	 */
	public long addRelation(AnnexRelatedBean b);
}
